<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>我的互动-我爱我的体育</title>
    <meta name="viewport" content="initial-scale=1, maximum-scale=1">
    <link rel="shortcut icon" href="/favicon.ico">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="stylesheet" href="//g.alicdn.com/msui/sm/0.6.2/css/sm.min.css">
    <link rel="stylesheet" href="//g.alicdn.com/msui/sm/0.6.2/css/sm-extend.min.css">
    <link rel="stylesheet" href="/assets/kxdrmobile/sui/style.css">
	<!-- <script src="//g.alicdn.com/tmapp/tida/2.1.96/tida.js?appkey=23270341" charset='utf-8'></script> -->
	<script type='text/javascript' src="//g.alicdn.com/tmapp/tida2/2.0.141/tida.js?appkey=23270341" charset='utf-8'></script>
    <script type='text/javascript' src='//g.alicdn.com/sj/lib/zepto/zepto.min.js' charset='utf-8'></script>
  </head>
  <body>
  <input type="hidden" class="sid" value="{$sid}" />
  <input type="hidden" class="gid" value="{$gid}" />
  <input type="hidden" class="gtp" value="{$gtp}" />
      <div class="page-group">
		<div class="page page-current" id='gift'>
		  <header class="bar bar-nav">
			<a class="button button-link button-nav pull-left {if $appname=='taobao'}back{/if}" href="/">
			  <span class="icon icon-left"></span>
			  返回
			</a>
		  </header>
		  <div class="content infinite-scroll infinite-scroll-bottom gift-log"  data-ptr-distance="55" data-distance="100">
			<div class="content-block-title">{$name}({$gtpn})：</div>
		    <div class="card">
			  <div class="card-content">
			    <div class="card-content-inner"><img src="{$pic|replace:'http:':''}" width="100%" /></div>
			  </div>
		    </div>
			{if $gtp==4}
			<div class="content-block-title">卡密：</div>
			  <div class="list-block media-list">
				<ul>
				{foreach from=$km item=kami key=key}
				  <li class="show_km" data-cardno="{$kami.cardno}" data-secret="{$kami.secret}">
					<div class="item-content">
					  <div class="item-media"><span class="icon icon-card"></span></div>
					  <div class="item-inner">
						<div class="item-title-row">
						  <div class="item-title">卡号：{$kami.cardno}</div>
						</div>
						<div class="item-subtitle">密码：*********</div>
					  </div>
					</div>
				  </li>
				  {/foreach}
				</ul>
			  </div>
			{/if}
			<div class="content-block-title">获取记录：</div>
				<div class="list-block media-list">
				  <ul class="giftlog">
				  {foreach from=$gifts item=gift key=key}
					<li>
						<a href="#" class="item-link item-content" data-egid="{$gift.id}" data-gettype="{$gift.advance}" data-type="{$gift.gift_type}" data-name="{$gift.name}" data-epid="{$gift.epid}">
						<div class="item-media"><img src="{$gift.gift_pic_url|replace:'http:':''}_250x250q60.jpg" style="width:3rem;" class=" "></div>
						<div class="item-inner">
						  <div class="item-title-row">
							<div class="item-title">{$gift.player_title}</div>
						  </div>
						  <div class="item-subtitle">{$gift.think_type_way_name}(奖品：{$gift.gift_name})</div>
						  <div class="item-text">{$gift.guess_time|date_format:"%m月%d日"}{$gift.score_diff_txt}</div>
						</div>
						</a>
					</li>
				  {/foreach}
				  </ul>
				</div>
				<!-- 加载提示符 -->
			  <div class="infinite-scroll-preloader">
				  <div class="preloader"></div>
			  </div>
		  </div>
		</div>
    </div>
    <script type='text/javascript' src='//g.alicdn.com/msui/sm/0.6.2/js/sm.min.js' charset='utf-8'></script>
    <script type='text/javascript' src='//g.alicdn.com/msui/sm/0.6.2/js/sm-extend.min.js' charset='utf-8'></script>
    <script type='text/javascript' src='/assets/kxdrmobile/sui/my-app.js' charset='utf-8'></script>
  </body>
</html>